# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-piexif
_pkgname=piexif
pkgver=1.1.3
pkgrel=1
pkgdesc="EXIF manipulations with Python"
url="https://github.com/hMatoba/Piexif"
arch="noarch !armhf !armv7 !s390x !x86" # Test failures
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pillow"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="df5f7793c39911af58bbae76cf998e2a7bc820b84dcf9808ee8f6a38f766f824fef28392ef88387e18b10c270c4b27881be310f0368076b6fb65379a11a93270  piexif-1.1.3.zip"
